package com.itheima.extends_demo.test;

public class Dog extends Animal{
    public Dog() {
    }

    public Dog(String color, String breed, int age) {
        super(color, breed, age);
    }

    @Override
    public void eat() {
        System.out.println("狗吃骨头!");
    }

    public void lookHome() {
        System.out.println("狗看家...");
    }
}
